home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / stat / stat.man < prev   
Text File  |  1989-01-13  |  2KB  |  60 lines

  1. ' Copyright 1989 Regents of the University of California
  2. ' Permission to use, copy, modify, and distribute this
  3. ' documentation for any purpose and without fee is hereby
  4. ' granted, provided that this notice appears in all copies.
  5. ' The University of California makes no representations about
  6. ' the suitability of this material for any purpose.  It is
  7. ' provided "as is" without express or implied warranty.
  8. ' $Header: /sprite/lib/forms/RCS/proto.man,v 1.3 89/01/09 11:43:01 ouster Exp $ SPRITE (Berkeley)
  9. .so \*(]ltmac.sprite
  10. .HS STAT cmds
  11. .BS
  12. .SH NAME
  13. stat \- get file attributes
  14. .SH SYNOPSIS
  15. .nf
  16. \fBstat\fR [\fB-s -l -d -t\fR] [\fB-n \fInum\fR] \fIfile file ...\fR
  17. .SH OPTIONS
  18. .IP "\fB\-s\fR" 14
  19. Produce short, one line output for each file.
  20. .IP "\fB\-l\fR" 14
  21. Get the attributes of the link, not what it references.
  22. .IP "\fB\-d\fR" 14
  23. Include day of week in dates.
  24. .IP "\fB\-t\fR" 14
  25. Time a series of Fs_GetAttributes calls.
  26. .IP "\fB\-n \fInum\fR" 14
  27. Number of repetitions for the \fB-t\fP option.
  28. .BE
  29.  
  30. .SH DESCRIPTION
  31. .PP
  32. Stat is used to print out attributes of files.
  33. Its output is self-explainitory
  34. and is a super-set of the output from the \fBls -l\fP command,
  35. which can also be obtained with the \fB-s\fP option.
  36. The extra attributes presented are the internal version number
  37. of the file that is incremented each time the file is re-written,
  38. the user-defined file type,
  39. the creation date,
  40. the file server ID,
  41. the file domain (disk),
  42. and the file number.
  43. For devices this also prints out the device serverID, type, and unit.
  44. A device serverID of -1 indicates that it is a common device
  45. found on all hosts.  Opening a common device attaches you to
  46. the instance of the device connected to the current host.
  47. .SH BUGS
  48. .PP
  49. User IDs and hostIDs are given in numerical form,
  50. not nice string names.
  51. .SH SEE ALSO
  52. .PP
  53. ls, prefix
  54. .SH KEYWORDS
  55. .PP
  56. attributes, version, create, device, file type, serverID
  57.  
  58.